#include "fib_table.h"
#include <gtest/gtest.h>

TEST(fib2_test, boundary_input)
{
    EXPECT_EQ(1, fib2(1));
    EXPECT_EQ(1, fib2(2));
    EXPECT_EQ(2, fib2(3));
    EXPECT_EQ(3, fib2(4));
    EXPECT_EQ(5, fib2(5));
    EXPECT_EQ(8, fib2(6));
    EXPECT_EQ(13, fib2(7));

    EXPECT_EQ(39088169, fib2(38));
    EXPECT_EQ(63245986, fib2(39));
    EXPECT_EQ(102334155, fib2(40));
}

